package com.yyfax.pay.console.service;

import com.yyfax.framework.model.Page;
import com.yyfax.pay.vo.consloe.DealExpRsp;
import com.yyfax.pay.vo.consloe.ExceptionRecord;
import com.yyfax.pay.vo.consloe.QueryExpRecordReq;
import com.yyfax.pay.vo.consloe.QueryExpRecordRsp;

import java.util.List;

public interface ResolveExpRecordService {

    /**
     * 处理异常
     *
     * @author wangjwy
     * @date 2018/7/4 14:44
     * @since 2.2.3
     * @param expRecordIds, optMode
     * @return com.yyfax.pay.vo.consloe.DealExpRsp
     */
    DealExpRsp resolve(List<Integer> expRecordIds, Integer optMode);

    /**
     * 关闭异常记录
     *
     * @author wangjwy
     * @date 2018/7/4 14:45
     * @since 2.2.3
     * @param expRecordIds, optMode
     * @return com.yyfax.pay.vo.consloe.DealExpRsp
     */
    DealExpRsp close(List<Integer> expRecordIds, Integer optMode);

    /**
     * 分页查询异常记录
     *
     * @author wangjwy
     * @date 2018/7/4 14:46
     * @since 2.2.3
     * @param req
     * @return com.yyfax.framework.model.Page<com.yyfax.pay.vo.consloe.ExceptionRecord>
     */
    Page<ExceptionRecord> listExceptionRecords(QueryExpRecordReq req);
}
